package hcn.protocol.ods;

import ctd.util.annotation.DicMapping;
import hcn.protocol.ods.diagnosis.AbstractResponse;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@XmlRootElement(name = "Record")
public class RegRecordBean extends AbstractResponse implements Serializable {
    private static final long serialVersionUID = 2086420359337259902L;
    private String orgId;
    private String regRecordId;
    private String regPassword;
    private String cancelReason;
    //中山特殊需求属性
    private String regName;
    private String workId;
    private String cardNo;
    @DicMapping(dic ="cardTypeForReg&hcn-mpi-dictionary-cardType")
    private String cardType;
    private String regSourceId;
    private String regPhoneNo;
    @DicMapping(dic ="certificateType&hcn-mpi-dictionary-certificateType")
    private String identityType;
    private String identityNo;

    public RegRecordBean() {
    }

    @XmlElement
    public String getOrgId() {
        return orgId;
    }

    @XmlElement
    public String getRegRecordId() {
        return regRecordId;
    }

    @XmlElement
    public String getRegPassword() {
        return regPassword;
    }

    @XmlElement
    public String getCancelReason() {
        return cancelReason;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public void setRegRecordId(String regRecordId) {
        this.regRecordId = regRecordId;
    }

    public void setRegPassword(String regPassword) {
        this.regPassword = regPassword;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason;
    }

    @XmlElement
    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    @XmlElement
    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    @XmlElement
    public String getWorkId() {
        return workId;
    }

    public void setWorkId(String workId) {
        this.workId = workId;
    }

    public String getRegName() {
        return regName;
    }

    public void setRegName(String regName) {
        this.regName = regName;
    }

    public String getRegSourceId() {
        return regSourceId;
    }

    public void setRegSourceId(String regSourceId) {
        this.regSourceId = regSourceId;
    }

    public String getRegPhoneNo() {
        return regPhoneNo;
    }

    public void setRegPhoneNo(String regPhoneNo) {
        this.regPhoneNo = regPhoneNo;
    }

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = identityType;
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public void setIdentityNo(String identityNo) {
        this.identityNo = identityNo;
    }
}
  